package com.itheima.health.until;

public class Test {
    public static void main(String[] args) {
      new Thread(new Runnable() {
          @Override
          public void run() {
              for (int i = 0; i < 3; i++) {
                  System.out.println("A");
              }
          }
      }).start();
        new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 0; i < 3; i++) {
                    System.out.println("B");
                }

            }
        }).start();
    }
}
